﻿using System.Diagnostics;
using System.Windows;
using YAWD.BL.Services;

namespace YAWD.Windows
{
   
    public partial class DonatePage
    {
        public DonatePage()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Process.Start(@"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=GLKC3RSJTQW2L&lc=FR&item_name=myCollections&item_number=Main&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted");
            DatabaseServices.UpdateDonate();

        }
    }
}
